package com.example.demo04.test.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BaseBusinessException extends RuntimeException {


    private Integer code;

    private String message;

    public BaseBusinessException(Integer code, String message) {
        super(message);
        this.code = code;
    }

}